Car.prototype.name = 'NININJA H2'
Car.prototype.lang = 3000
Car.prototype.height = 170


function Car(color,owner) {
    // this.name = 'NININJA H2'
    // this.lang = 3000
    // this.height = 170
    this.color = color
    this.owner = owner
}

let car1 = new Car('black','Kakarotto')
let car2 = new Car('white','Sun GoKu')
console.log(car1,car2);
console.log(car1.name,car1.lang,car1.height)